package homework41;

import java.util.HashMap;
import java.util.Map;
@SuppressWarnings({"all"})
public class Context {
    private final Map<String,Integer> valueMap= new HashMap<>();

    public Map<String,Integer> getValueMap(){
        return valueMap;
    }

    public void addValue(final String key,final int value){
        valueMap.put(key,Integer.valueOf(value));
    }

    public int getValue(final String key){
        return valueMap.get(key).intValue();
    }
}
